projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a050b01
)
dnd: Set drag gesture propagation phase to GTK_PHASE_NONE explicitly
author
Carlos Garnacho
<carlosg@gnome.org>
Mon, 11 Aug 2014 18:41:44 +0000
(20:41 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Fri, 15 Aug 2014 11:49:39 +0000
(13:49 +0200)
This used to rely on the default phase value.
https://bugzilla.gnome.org/show_bug.cgi?id=734285
gtk/gtkdnd.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdnd.c
b/gtk/gtkdnd.c
index 7913b00a55fd519a94718a8b1e277067739f74ec..b396a2cc1e6b4d012cfb2a83cb9de9c3e8b9d2ca 100644
(file)
--- a/
gtk/gtkdnd.c
+++ b/
gtk/gtkdnd.c
@@
-2799,6
+2799,8
@@
gtk_drag_source_set (GtkWidget *widget,
site = g_slice_new0 (GtkDragSourceSite);
site->icon_helper = _gtk_icon_helper_new ();
site->drag_gesture = gtk_gesture_drag_new (widget);
+ gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (site->drag_gesture),
+ GTK_PHASE_NONE);
gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (site->drag_gesture),
FALSE);